3.1211 \(\int \frac {(1-2 x) (2+3 x)^3}{(3+5 x)^2} \, dx\)

Optimal. Leaf size=41 \[ -\frac {18 x^3}{25}-\frac {81 x^2}{250}+\frac {522 x}{625}-\frac {11}{3125 (5 x+3)}+\frac {97 \log (5 x+3)}{3125} \]

[Out]

522/625*x-81/250*x^2-18/25*x^3-11/3125/(3+5*x)+97/3125*ln(3+5*x)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {77} \[ -\frac {18 x^3}{25}-\frac {81 x^2}{250}+\frac {522 x}{625}-\frac {11}{3125 (5 x+3)}+\frac {97 \log (5 x+3)}{3125} \]

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)*(2 + 3*x)^3)/(3 + 5*x)^2,x]

[Out]

(522*x)/625 - (81*x^2)/250 - (18*x^3)/25 - 11/(3125*(3 + 5*x)) + (97*Log[3 + 5*x])/3125

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int \frac {(1-2 x) (2+3 x)^3}{(3+5 x)^2} \, dx &=\int \left (\frac {522}{625}-\frac {81 x}{125}-\frac {54 x^2}{25}+\frac {11}{625 (3+5 x)^2}+\frac {97}{625 (3+5 x)}\right ) \, dx\\ &=\frac {522 x}{625}-\frac {81 x^2}{250}-\frac {18 x^3}{25}-\frac {11}{3125 (3+5 x)}+\frac {97 \log (3+5 x)}{3125}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 46, normalized size = 1.12 \[ \frac {-67500 x^4-70875 x^3+60075 x^2+92680 x+582 (5 x+3) \log (-3 (5 x+3))+27354}{18750 (5 x+3)} \]

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)*(2 + 3*x)^3)/(3 + 5*x)^2,x]

[Out]

(27354 + 92680*x + 60075*x^2 - 70875*x^3 - 67500*x^4 + 582*(3 + 5*x)*Log[-3*(3 + 5*x)])/(18750*(3 + 5*x))

________________________________________________________________________________________

fricas [A]  time = 0.55, size = 42, normalized size = 1.02 \[ -\frac {22500 \, x^{4} + 23625 \, x^{3} - 20025 \, x^{2} - 194 \, {\left (5 \, x + 3\right )} \log \left (5 \, x + 3\right ) - 15660 \, x + 22}{6250 \, {\left (5 \, x + 3\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3/(3+5*x)^2,x, algorithm="fricas")

[Out]

-1/6250*(22500*x^4 + 23625*x^3 - 20025*x^2 - 194*(5*x + 3)*log(5*x + 3) - 15660*x + 22)/(5*x + 3)

________________________________________________________________________________________

giac [A]  time = 1.15, size = 57, normalized size = 1.39 \[ \frac {9}{6250} \, {\left (5 \, x + 3\right )}^{3} {\left (\frac {27}{5 \, x + 3} + \frac {62}{{\left (5 \, x + 3\right )}^{2}} - 4\right )} - \frac {11}{3125 \, {\left (5 \, x + 3\right )}} - \frac {97}{3125} \, \log \left (\frac {{\left | 5 \, x + 3 \right |}}{5 \, {\left (5 \, x + 3\right )}^{2}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3/(3+5*x)^2,x, algorithm="giac")

[Out]

9/6250*(5*x + 3)^3*(27/(5*x + 3) + 62/(5*x + 3)^2 - 4) - 11/3125/(5*x + 3) - 97/3125*log(1/5*abs(5*x + 3)/(5*x
 + 3)^2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 32, normalized size = 0.78 \[ -\frac {18 x^{3}}{25}-\frac {81 x^{2}}{250}+\frac {522 x}{625}+\frac {97 \ln \left (5 x +3\right )}{3125}-\frac {11}{3125 \left (5 x +3\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)*(3*x+2)^3/(5*x+3)^2,x)

[Out]

522/625*x-81/250*x^2-18/25*x^3-11/3125/(5*x+3)+97/3125*ln(5*x+3)

________________________________________________________________________________________

maxima [A]  time = 0.63, size = 31, normalized size = 0.76 \[ -\frac {18}{25} \, x^{3} - \frac {81}{250} \, x^{2} + \frac {522}{625} \, x - \frac {11}{3125 \, {\left (5 \, x + 3\right )}} + \frac {97}{3125} \, \log \left (5 \, x + 3\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3/(3+5*x)^2,x, algorithm="maxima")

[Out]

-18/25*x^3 - 81/250*x^2 + 522/625*x - 11/3125/(5*x + 3) + 97/3125*log(5*x + 3)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 29, normalized size = 0.71 \[ \frac {522\,x}{625}+\frac {97\,\ln \left (x+\frac {3}{5}\right )}{3125}-\frac {11}{15625\,\left (x+\frac {3}{5}\right )}-\frac {81\,x^2}{250}-\frac {18\,x^3}{25} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((2*x - 1)*(3*x + 2)^3)/(5*x + 3)^2,x)

[Out]

(522*x)/625 + (97*log(x + 3/5))/3125 - 11/(15625*(x + 3/5)) - (81*x^2)/250 - (18*x^3)/25

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 34, normalized size = 0.83 \[ - \frac {18 x^{3}}{25} - \frac {81 x^{2}}{250} + \frac {522 x}{625} + \frac {97 \log {\left (5 x + 3 \right )}}{3125} - \frac {11}{15625 x + 9375} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)**3/(3+5*x)**2,x)

[Out]

-18*x**3/25 - 81*x**2/250 + 522*x/625 + 97*log(5*x + 3)/3125 - 11/(15625*x + 9375)

________________________________________________________________________________________